package com.hzncc.flowable_diboot.entity.contract;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@TableName("contract_progress")
@Data @EqualsAndHashCode @Accessors
public class ContractProgress {
    @TableId
    private String id;

    @TableField
    @BindQuery(comparison = Comparison.LIKE)
    private String contractCode;

    @TableField
    private String businessModel;

    @TableField
    private String contractCate;

    @TableField
    private String payProgress;

    @TableField
    private String ContractStatus;

    @TableField
    private String CustomerId;

    @TableField
    private String totalAmount;

    @TableField
    private String settlementMethod;

    @TableField
    private String invoicedAmount;

    @TableField
    private String receivedAmount;

    @TableField
    private String outstandingAmount;

    @TableField
    private String auditTime;

    @TableField
    private String overTime;

    @TableField
    private String deferredDays;

    @TableField
    private String header;

    @TableField
    private String signer;

    @TableField
    private LocalDateTime createTime;

}
